Skip to content

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Nov 7, 2024

In #29596 we switched to outputting each group of tokens under a different selector in order to work around an Sass deprecation warning. Now that M3 themes are purely token-based, we can switch back to the old approach which produces smaller themes and makes the tokens easier to read in the dev tools.

We have to keep the workaround in place for M2 themes, because they mixed CSS variables with other rules.

In angular#29596 we switched to outputting each group of tokens under a different selector in order to work around an Sass deprecation warning. Now that M3 themes are purely token-based, we can switch back to the old approach which produces smaller themes and makes the tokens easier to read in the dev tools.

We have to keep the workaround in place for M2 themes, because they mixed CSS variables with other rules.
@crisbeto crisbeto added the target: rc This PR is targeted for the next release-candidate label Nov 7, 2024
@crisbeto crisbeto requested a review from a team as a code owner November 7, 2024 13:15
@crisbeto crisbeto requested review from amysorto, andrewseguin and mmalerba and removed request for a team November 7, 2024 13:15
@crisbeto crisbeto closed this Nov 11, 2024
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants